const router = require("@koa/router")()

router.get("/", async (ctx) => {
  ctx.body = "欢迎来到后台banner模块"
})

router.post("/add", async (ctx) => {
  ctx.body = "这是添加"
})

router.post("/del", async (ctx) => {
  ctx.body = "这是删除"
})

router.post("/update", async (ctx) => {
  ctx.body = "这是修改"
})
router.post("/inquire", async (ctx) => {
  ctx.body = "这是查询"
})

module.exports = router